
<div class="ibox">
        <div class="ibox-title">
        <h5>${title}</h5>
        
<div class="nowrap pull-right" style="margin-top:10px">
    <button data-modal='merchant/add${type}' data-title="新建商家" class='layui-btn layui-btn-small'><i class='fa fa-plus'></i> 新建商家</button>
</div>

    </div>
        <div class="ibox-content fadeInUp animated">
                



    <input type="hidden" value="resort" name="action"/>
    <table class="table table-hover">
        <thead>
            <tr>
               
             <th class='text-center'>编号</th>
                <th class='text-center'>${title}</th>
                <th class='text-center'>创建时间</th>
                <th class='text-center'>描述</th>
                <th class='text-center'>操作</th>
            </tr>
        </thead>
        <tbody>
        <#list page.data as vo>
              <tr>
                <td class='text-center'>${vo.id!""}</td>
                <td class='text-center'>${vo.name!""}</td>
                <td class='text-center'>${vo.createTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td class='text-center'>${vo.desc!""}</td>
                <td class='text-center nowrap'>
                    <a data-modal='merchant/edit?id=${vo.id}' href="javascript:void(0)">编辑</a>
                </td>
            </tr>     
            </tr>
            </#list>
                    </tbody>
    </table>
 <p>
 
 <ul class="pagination pull-right"> 
   <#import "/common/mch_page.html" as p> 
  <@p.page data=page url="merchant/index" />
 </ul>
 
 </p>
 


    </div>  
</div>
